<template>
  <van-cell-group>
    <van-cell title="专题精选" is-link value="更多精选专题" />
    <van-grid :column-num="2">
      <van-grid-item
        v-for="item in topicList"
        :key="item.id"
        :icon="item.picUrl"
        :text="item.title"
      />
    </van-grid>
  </van-cell-group>
</template>

<script setup>
import { defineProps } from "vue";
const props = defineProps({
  topicList: {
    type: Array,
  },
});
</script>

<style scoped lang="scss">
::v-deep .van-icon__image{
    width: 240px;
    height: 240px;
}
</style>
